<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <link rel="stylesheet" href="../stylesheets/maskLoadImage.css">
    <script src="../javascripts/maskLoadImage.js"></script>
    <title>Document</title>
</head>
<body>
    <img src="../images/9.png" data-type="maskImg">
    <img src="../images/9.png" data-type="maskImg">
    <img src="../images/9.png" data-type="maskImg">
    <img src="../images/9.png" data-type="maskImg">
    <img src="../images/9.png" data-type="maskImg">
    
    <h2>代码示例</h2>
    <pre>
        &lt;img src="../images/9.png" data-type="maskImg"&gt;
        &lt;img src="../images/9.png" data-type="maskImg"&gt;
        &lt;img src="../images/9.png" data-type="maskImg"&gt;
        &lt;img src="../images/9.png" data-type="maskImg"&gt;
        &lt;img src="../images/9.png" data-type="maskImg"&gt;
    </pre>
    <div>js代码</div>
    <pre>
        initMaskImage();
    </pre>
    <div>
        浏览器支持：firefox， chrome， edge， safari， 不支持ie
    </div>
    <script>
        initMaskImage();
    </script>
</body>
</html>